<?php
/*
*author:TT
*createtime:2017/4/13 17:25
*description:
*/
namespace haibao\cms\model\data\newproduct;

class GoodsStatistic extends \haibao\cms\model\data\Base{

    /**
     * 商品ID
     */
    public $GoodsId;
    /**
     * 点击量
     */
    public $ClickNum = 0;
    /**
     * 评论数
     */
    public $CommentNum = 0;

    /**
     * PC点击数
     */
    public $PcClickNum = 0;
    
    /**
     * 使用次数
     */
    public $UseCount = 0;

    /**
     * wap点击数
     */
    public $MobileClickNum = 0;

    public $CommentPariseNum = 0;

    public $QuestionNum = 0;
    public $QuestionPariseNum = 0;


    public function __construct(){
        parent::__construct();

        $this->intField('GoodsId', 'GoodsId',true);
        $this->intField('ClickNum', 'ClickNum');
        $this->intField('CommentNum', 'CommentNum');
        $this->intField('PcClickNum', 'PcClickNum');
        $this->intField('MobileClickNum', 'MobileClickNum');
        $this->intField('CommentPariseNum', 'CommentPariseNum');
        $this->intField('QuestionNum', 'QuestionNum');
        $this->intField('QuestionPariseNum', 'QuestionPariseNum');
        $this->intField('UseCount', 'UseCount');

        $this->setTableName('GoodsStatistic');
    }
}